package com.wbxqy.car_management_system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

import com.wbxqy.car_management_system.dto.TimeSlot;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 车辆维修记录表
 * </p>
 *
 * @author wbxqy
 * @since 2024-07-20
 */
@Getter
@Setter
@TableName("t_car_record_wbxqy")
@ApiModel(value = "CarRecord对象", description = "车辆维修记录表")
public class CarRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("记录ID，主键")
    @TableId(value = "record_id_wbxqy", type = IdType.AUTO)
    private Integer recordIdWbxqy;

    @ApiModelProperty("车辆ID，外键")
    private Integer carIdWbxqy;

    @ApiModelProperty("车辆信息")
    @TableField(exist = false)
    private Car car;

    @ApiModelProperty("记录日期")
    private LocalDate recordDateWbxqy;

    @ApiModelProperty("记录类型 W 维修 B 保养 J 检修 E 其他")
    private String recordCateWbxqy;

    @ApiModelProperty("记录详细描述描述")
    private String descriptionWbxqy;

    @ApiModelProperty("记录花费费用")
    private BigDecimal costWbxqy;

    @ApiModelProperty("记录创建时间")
    private LocalDateTime createTimeWbxqy;

    @ApiModelProperty("记录更新时间")
    private LocalDateTime updateTimeWbxqy;

    @ApiModelProperty("是否删除标记，逻辑删除")
    private Boolean isDeletedWbxqy;


}
